package com.dl.base.api.response

import com.dl.base.api.constant.NetConstant

data class BaseResponse<T>(
    val code: String,
    val message: String,
    val data: T
) {
    fun isSuccessful(): Boolean {
        return code == NetConstant.RESULT_SUCCESS
    }
}
